{extend name="public/base"/}
{block name="style"}
{/block}
{block name="content"}
    <div class="data-list" data-url="{:url('index')}">
        <form class="layui-form inline-form">
            <div class="pull-left">
                <div class="layui-inline">
                    <input class="layui-input" type="number" autofocus autocomplete="off" name="success_rate" placeholder="妥投率/大于">
                </div>
                <div class="layui-inline">
                    <input class="layui-input" type="number" autocomplete="off" name="attr_name" placeholder="平均时效/小于">
                </div>
                <div class="layui-inline">
                    <select name="country_code" lay-filter="data-list" lay-search>
                        <option value="">国家</option>
                        {foreach $counties as $c}
                        <option value="{$c.code_two}">{$c.name_ch}</option>
                        {/foreach}
                    </select>
                </div>
                <div class="layui-inline">
                    <select name="channel_id" lay-filter="data-list" lay-search>
                        <option value="">渠道</option>
                        {foreach $channel as $c}
                        <option value="{$c.channel_id}">{$c.channel_name}</option>
                        {/foreach}
                    </select>
                </div>
                <div class="layui-inline">
                    <select name="status" lay-filter="data-list">
                        <option value="">状态</option>
                        {foreach $status as $k=>$v}
                        <option value="{$k}">{$v}</option>
                        {/foreach}
                    </select>
                </div>
                <div class="layui-inline">
                    <button class="layui-btn layui-btn-sm layui-btn-normal search"><i class="layui-icon layui-icon-search"></i></button>
                </div>
            </div>
            <div class="pull-right">
                {if $is_show_add}
                <div class="layui-inline">
                    <a class="layui-btn layui-btn-normal layui-btn-sm " href="{:url('add')}"><i class="layui-icon layui-icon-add-circle"></i> 新增</a>
                </div>
                {/if}
            </div>
        </form>
        <div class="data">
            <p><i class="fa fa-spinner fa-spin"></i> 加载中...</p>
        </div>
    </div>
{/block}